Skip to content

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Mar 8, 2023

This PR implements only the code changes for the PEP; documentation will be added separately.

Example:

>>> memoryview(b"x", flags=inspect.BufferFlags.WRITABLE)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
BufferError: Object is not writable.
>>> memoryview(b"x", flags=inspect.BufferFlags.SIMPLE)
<memory at 0x103391640>

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am always happy when typing-related work is used for better APIs! Thank you 🎉

@JelleZijlstra JelleZijlstra requested a review from a team as a code owner March 10, 2023 04:58
@kumaraditya303
Copy link
Contributor

@JelleZijlstra I pushed some fixes directly, hope you don't mind it. See my review comments, especially the one for typeobject.

@bedevere-bot
Copy link

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@JelleZijlstra
Copy link
Member Author

Thanks Kumar for the review and fixes!

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@hauntsaninja, @kumaraditya303: please review the changes made to this pull request.

@JelleZijlstra
Copy link
Member Author

Seems like I need to run regen-all, doing that.

Copy link
Contributor

@kumaraditya303 kumaraditya303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JelleZijlstra JelleZijlstra merged commit 04f6733 into python:main May 4, 2023
@JelleZijlstra JelleZijlstra deleted the pep688v2 branch May 4, 2023 14:59
@JelleZijlstra JelleZijlstra restored the pep688v2 branch September 10, 2024 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants